package com.example.newleadcent.service.Impl;

import com.example.newleadcent.entity.Term;
import com.example.newleadcent.mapper.TermMapper;
import com.example.newleadcent.service.TermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TermServiceImpl implements TermService {

    @Autowired
    private TermMapper termMapper;
    @Override
    public Term getTerminfoByImei(String Imei) {
        return termMapper.getTerminfoByImei(Imei);
    }

    @Override
    public int update(Term term) {
        return termMapper.update(term);
    }

    @Override
    public int add(Term term) {
        return termMapper.add(term);
    }
}
